package com.ama;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication//说明是一个springboot的业务程序
@MapperScan(basePackages = "com.ama.dao")//mybatis扫描的映射包 dao
@EnableTransactionManagement//开启事务支持
public class RmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(RmsApplication.class, args);
    }

}
